
package com.ffcs.crmd.tsp.admin.api.facade;

import java.util.List;

import com.ctg.itrdc.platform.common.entity.PageInfo;
import com.ffcs.crmd.platform.core.ddd.api.facade.IDomBaseFacade;
import com.ffcs.crmd.tsp.admin.api.dto.ClusterDTO;

public interface IClusterFacade extends IDomBaseFacade {

	public void save(ClusterDTO clusterDto) throws Exception;
    
    public void remove(ClusterDTO clusterDto) throws Exception;
    
    public void remove(List<ClusterDTO> clusterDtos) throws Exception; 
    
    public void update(ClusterDTO clusterDto) throws Exception;
    
    /**
     * 功能说明:
     * 
     * @return
     * @throws Exception
     */
    List<ClusterDTO> query() throws Exception;
    
    /**
     * 功能说明:
     * 
     * @param name
     * @return
     * @throws Exception
     */
    List<ClusterDTO> query(String name) throws Exception;

    /**
     * 功能说明:
     * 
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<ClusterDTO> queryPage(int pageNumber, int pageSize) throws Exception;

    /**
     * 功能说明:
     * 
     * @param name
     * @param pageNumber
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<ClusterDTO> queryPage(String name, int pageNumber, int pageSize) throws Exception;
}
